package com.google.code.sapwcrawler.urlfilter;

import java.net.URL;

public class HostURLFilter implements URLFilter
{
	private String host;
	public void setHost(String v)
	{
		this.host = v;
	}
	
	@Override
	public boolean isDownloadableURL(URL url)
	{
		return url.getHost().equals(host);
	}
}
